package com.alveole.events.browser;

import com.alveole.events.server.LoginEvent;

public class BrowserInitEvent extends BrowserEvent {
	@Override
	public void addServerEvents() {
		if (browserSession.isAuthenticated())
		{
			serverEvents.add(new LoginEvent(browserSession.getUser().getLogin()));
		}	
		serverEvents.add(new LoginEvent(browserSession.getUser().getLogin()));
	}
}
